import { action, makeAutoObservable,makeObservable, observable } from "mobx";
export default class CounterStore {
    count = 10
    constructor() {
        // this.count = 10
        makeAutoObservable(this,{rest:true},{autoBind:true})
    }
    increment() {
        this.count += 1
    }
    rest() {
        this.count = 0
    }
}